package com.health.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.health.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.health.entity.pojo.dto.UserDTO;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author sanchuan
 * @since 2023-04-22
 */
public interface IUserService extends IService<User> {

    IPage<User> listUserPage(Integer pageNum, Integer pageSize, UserDTO userDTO);

    Boolean banUserForever(Integer isLock,List<Integer> ids);

    Boolean unblockingUser(Integer userId);
}
